home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1987 / Jul 87 / Response to Various… < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  34 lines  |  [TEXT/GEOL]

  1. Item    5175703                         17-July-87        16:07
  2.  
  3. From:   ROSENSTEIN1                     Rosenstein, Larry
  4.  
  5. To:     U0239                           Louisiana State U Bookstore
  6.  
  7. cc:     MACAPP$                         MacApp Interest List
  8.  
  9. Sub:    Response to Various Questions
  10.  
  11. MacApp permits windows that are associated with the application.  These are
  12. created by passing NIL for the document.  The Conference sample program
  13. demonstrates this; the overview window is associated with the application and
  14. not any particular document.
  15.  
  16. If you want the saving to happen, however, it is best to create a document
  17. object.  That way, MacApp will take care of some of the details about saving
  18. it.  Note that TEViews are not tied to any particular document, so if necessary
  19. you could create a window with a TEView and no document object.
  20.  
  21. You can create these documents in a variety of places; IYourApplication would
  22. be one of them.
  23.  
  24. You should look at the method TApplication.OpenOld to see the code necessary to
  25. open an existing document.  (Similarly, the OpenNew method is used to create a
  26. new document.)  You will have to make similar calls to what is found in those
  27. methods in order to handle these application-owned documents.  Specifically,
  28. you have to make sure that the view and window objects are created and set up
  29. properly.
  30.  
  31. Larry Rosenstein
  32.  
  33.  
  34.